<?php

class User_Action_Logout extends Action
{
    function execute($request)
    {
        $_SESSION['uid'] = 0;

        $url = Agilet::getUrl('/');
        header('location: ' . $url);
    }
}